package com.exception.demo.dto;

import lombok.Data;

/**
 * @ClassName ErrorInfo
 * @description: TODO
 * @author: 朱同学
 * @Date 2021/4/9 22:02
 **/
@Data
public class ErrorInfo<T> {

    public static final Integer OK = 0;
    public static final Integer ERROR = 100;

    private Integer code;
    private String message;
    private String url;
    private T data;

}
